<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\LinkPager;

/* @var $this yii\web\View */
/* @var $searchModel app\models\search\UserSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Users';
$this->params['breadcrumbs'][] = $this->title;
?>

<!-- <div class="user-authlist">
<div id="w0" class="grid-view">
<table class="table table-striped table-bordered">
    <thead>
        <tr><th>ID</th><th>用户名</th><th>实名认证</th><th>操作</th></tr>
    </thead>
<tbody>
    <?php foreach($model as $key=>$val){ ?>
    <tr><td><?= $val->id; ?></td><td><?= $val->username; ?></td><td><?= $val->identity_auth == 1 ? "待审核":""; ?></td><td><a class="btn btn-default" href="/adminuser/user/auth?userid=<?= $val->id ?>">审核</a></td></tr>
<?php } ?>
</tbody></table>
</div>
 
<?= LinkPager::widget(['pagination' => $pages,]);?>
</div>

 -->
<div class="pt15 pl15">当前位置：<span class="layui-breadcrumb"><a href="/">首页</a><a href="/adminuser/user/index">用户管理</a><a><cite>实名认证管理</cite></a></span></div>
  <div class="layui-fluid user-authlist">
    <div class="layui-card p30">		
		<div class="border-b pb15 f22">实名认证管理</div>
		<div class="layui-card-body p0 mt15">		 
			<table class="layui-table">					
				<thead>
					<tr><th>ID</th><th>用户名</th><th>实名认证</th><th>操作</th></tr>
				</thead>
			  <tbody>
				<?php foreach($model as $key=>$val){ ?>
				    <tr><td><?= $val->id; ?></td><td><?= $val->username; ?></td><td><?= $val->identity_auth == 1 ? "待审核":""; ?></td><td><a class="btn btn-default" href="/adminuser/user/auth?userid=<?= $val->id ?>">审核</a></td></tr>
				<?php } ?>
				</tbody>
			</table>			
			<div class="p-tradelist-pager text-c"><?= LinkPager::widget(['pagination' => $pages,]);?></div>		
		</div>
    </div>
  </div>